Build an optimized subroutine parameter validator once, use it forever
